package com.hmdp.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("order_table")
public class TicketOrder implements Serializable {
    @TableId(value = "OrderID")
    private Integer orderId;

    @TableField(value = "UserID")
    private Integer userId;

    @TableField(value = "OrderTime")
    private LocalDateTime orderTime;

    @TableField(value = "TotallPrice")
    private Long totallPrice;

    @TableField(value = "PaymentStatus")
    private String paymentStatus;


}
